package com.liruo.learn.spring.security.controller.cors;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:liruo
 * @Date:2023-05-29-16:23:17
 * @Desc
 */
@RestController
public class CorsMethodController {
    @CrossOrigin(
            origins = "http://localhost:80"
    )
    @GetMapping("/cors/method")
    public void corsCoverClass(){

    }
}
